package org.youdiversity.orm;

import java.util.List;

import org.youdiversity.model.BaseEntity;


public interface BaseDao<T extends BaseEntity> {

	public Long save(T entity);
	
	public T get(Long id);
	
	public T load(Long id);
	
	public List<T> getAll();
	
	public void update(T entity);
	
	public void delete(T entity);
	
	public void delete(Long id);
	
	public void clear();
	
	

}
